package com.ruoyi.thd.domain;

import com.alibaba.fastjson.annotation.JSONField;

public class DrawResult<T> {

    @JSONField(name = "success")
    private int code;
    @JSONField(name = "data")
    private T data;

    public DrawResult() {
    }

    public DrawResult(int code, T data) {
        this.code = code;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
